package entity

type SupervisorWithDrawTrans struct {
	Id                   int64   `gorm:"column:id;primary_key" json:"id"`
	SupervisorWithDrawId int64   `gorm:"column:supervisor_with_draw_id;type:bigint;not null" json:"supervisor_with_draw_id"`
	TotalAmount          float64 `gorm:"column:total_amount;type:bigint;not null" json:"total_amount"`
	Status               int     `gorm:"column:status;type:integer;not null" json:"status"`
	SupervisorId         string  `gorm:"column:supervisor_id;type:varchar(255);not null" json:"supervisor_id"`
	Delta                float64 `gorm:"column:delta;type:double;not null" json:"delta"`
	Desc                 string  `gorm:"column:desc;type:varchar(255);not null" json:"desc"`
	ExtraData            string  `gorm:"column:extra_data;type:varchar(255);not null" json:"extra_data"`
	OperatorId           string  `gorm:"column:operator_id;type:varchar(255);not null" json:"operator_id"`
	Operator             string  `gorm:"column:operator;type:varchar(255);not null" json:"operator"`
	CreatedAt            int64   `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
	UpdatedAt            int64   `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
}

func (s *SupervisorWithDrawTrans) TableName() string {
	return "supervisor_with_draw_trans"
}
